package general.exceptions;

import general.datastructures.Vector2f;

/**
 * 
 * @author Tim
 * @version 0.4.1
 * @since 0.4.0
 */
public class OutOfMapException extends PointException {

	private static final long serialVersionUID = 5546876949049158990L;

	/**
	 * Constructor which accepts a message
	 * 
	 * @param message MessageString
	 */
	public OutOfMapException(String message)
	{
		super(message);
	}
	
	/**
	 * Constructor whicht accepts a message and the belonging {@link Point}
	 * 
	 * @param message the MessageString
	 * @param p The {@link Point} related to the Exception
	 */
	public OutOfMapException(String message, Vector2f p) {
		super(message, p);
	}

}
